//
//  MyErrorTableViewCell.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/6/2.
//  Copyright © 2017年 Logel. All rights reserved.
//

import UIKit

class MyErrorTableViewCell: UITableViewCell {
    @IBOutlet weak var questionLbl: UILabel!
    @IBOutlet weak var timeLbl: UILabel!
    @IBOutlet weak var answerLbl: UILabel!

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    var me:MyError!{
        didSet{
            questionLbl.text = "问题：\(me.question)"
            timeLbl.text = "时间：\(me.createTime)"
            answerLbl.text = "解释：\(me.explains)"
        }
    }

}
